<!DOCTYPE html>
<html>
    <head>
        <title>ASTPP Documentation : Opensips Integration</title>
        <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>

    <body class="theme-default aui-theme-default">
        <div id="page">
            <div id="main" class="aui-page-panel">
                <div id="main-header">
                    <div id="breadcrumb-section">
                        <ol id="breadcrumbs">
                            <li class="first">
                                <span><a href="index.html">ASTPP Documentation</a></span>
                            </li>
                                                    <li>
                                <span><a href="Welcome-to-ASTPP_491525.html">Welcome to ASTPP</a></span>
                            </li>
                                                </ol>
                    </div>
                    <h1 id="title-heading" class="pagetitle">
                                                <span id="title-text">
                            ASTPP Documentation : Opensips Integration
                        </span>
                    </h1>
                </div>

                <div id="content" class="view">
                    <div class="page-metadata">
                        
        
    
        
    
        
        
            Created by <span class='author'> ASTPP</span>, last modified on Jul 14, 2015
                        </div>
                    <div id="main-content" class="wiki-content group">
                    <div class="confluence-information-macro confluence-information-macro-note"><p class="title">Note</p><span class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span><div class="confluence-information-macro-body"><p>OpenSIPs script is for version 1.7.1. <br/><strong><em>Please help us in converting opensips script to latest opensips LTS version.</em></strong></p></div></div><div class="panel" style="border-style: solid;border-width: 1px;"><div class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>1. Modify subscriber table of opensips:</b></div><div class="panelContent">
<p><span style="color: rgb(64,64,64);text-decoration: none;">ALTER TABLE `subscriber` ADD `accountcode` VARCHAR( 20 ) NOT NULL</span></p>
</div></div><div class="panel" style="border-style: solid;border-width: 1px;"><div class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>2. Enable opensips support in ASTPP:</b></div><div class="panelContent">
<p><span style="color: rgb(64,64,64);text-decoration: none;">1. Goto System -&gt; Configuration</span><span style="color: rgb(64,64,64);text-decoration: none;"><br class="kix-line-break"/></span><span style="color: rgb(64,64,64);text-decoration: none;">2. Enable opensips options</span><span style="color: rgb(64,64,64);text-decoration: none;"><br class="kix-line-break"/></span><span style="color: rgb(64,64,64);text-decoration: none;">3. Configure opensips database and domain variables from same page (Variables : opensips_dbname, opensips_dbuser, opensips_dbhost,opensips_dbpass, opensips_domain)</span><span style="color: rgb(64,64,64);text-decoration: none;"><br class="kix-line-break"/><strong>Note :</strong> If you are running opensips on separate server then please make sure ASTPP server should have grant to access opensips database.</span><span style="color: rgb(64,64,64);text-decoration: none;"><br class="kix-line-break"/></span></p>
</div></div><div class="panel" style="border-style: solid;border-width: 1px;"><div class="panelHeader" style="border-bottom-width: 1px;border-bottom-style: solid;"><b>3. Copy opensip.cfg file to appropriate opensips folder:</b></div><div class="panelContent">
<span style="color: rgb(64,64,64);text-decoration: none;">cp &lt;ASTPP SOURCE DIR&gt;/opensips/opensips.cfg /usr/local/etc/opensips/opensips.cfg</span><span style="color: rgb(64,64,64);text-decoration: none;"><br class="kix-line-break"/></span>
</div></div><p><span style="color: rgb(64,64,64);text-decoration: none;">You are done.</span></p>
                    </div>

                    
                                                      
                </div>             </div> 
            <div id="footer" role="contentinfo">
                <section class="footer-body">
                    <p>Document generated by Confluence on Aug 17, 2015 10:25</p>
                    <div id="footer-logo"><a href="http://www.atlassian.com/">Atlassian</a></div>
                </section>
            </div>
        </div>     </body>
</html>
